<script type="text/javascript" src="/piger/system/roleDetail.js"></script>
<div id="roleDetail">
    <form id="roleDetail-form" class="layui-form" lay-filter="roleDetail-form">
        <div id="roleDetailContent">
            <div class="cms-form-middle">
                <div>
                    <div class="cms-form-item">
                        <label class="layui-form-label"><i style="color:red">* </i>角色名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="name" class="layui-input cms-single-line" lay-verify="required" lay-verType="tips" placeholder="请输入角色名称">
                        </div>
                    </div>
                    <div class="cms-form-item">
                        <label class="layui-form-label"><i style="color:red">* </i>角色描述</label>
                        <div class="layui-input-block">
                            <input type="text" name="description" class="layui-input cms-single-line" lay-verify="required" lay-verType="tips" placeholder="请输入角色描述">
                        </div>
                    </div>
                    <div id="roleDetail-div-dateCreated" class="cms-form-item" hidden>
                        <label class="layui-form-label">创建时间</label>
                        <div class="layui-input-block">
                            <input type="text" name="createDate" class="layui-input cms-single-line" readonly="readonly">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">权限配置</label>
                    <div class="layui-input-block" style="overflow: auto">
                        <ul id="roleDetail-permission-tree" class="ztree"></ul>
                    </div>
                </div>
            </div>
        </div>
        <div align="center" style="padding-top: 10px">
            <button type="button" class="layui-btn layui-btn-primary cms-btn-width cms-hidden" lay-submit lay-filter="roleDetail-btn-add">添加</button>
            <button type="button" class="layui-btn cms-btn-width cms-hidden" lay-submit lay-filter="roleDetail-btn-modify">确定</button>
        </div>
    </form>
</div>